package cn.com.csg.smartenergy.modules.biz.energy.mapper;

import cn.com.csg.smartenergy.modules.biz.entity.IotDeviceEntity;
import cn.com.csg.smartenergy.modules.biz.entity.IotProductEntity;
import cn.com.csg.smartenergy.modules.biz.entity.IotProductServiceEntity;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * ??_??
 *
 * @author Mark sunlightcs@gmail.com
 * @email anada_lee@163.com
 * @date 2019-07-30 08:24:20
 */
@Mapper
@DS("energy")
public interface EnergyIotProductMapper extends BaseMapper<IotProductEntity> {
    // ??
    List<IotProductEntity> queryProductList(Page<IotProductEntity> page, @Param("params") Map<String, Object> params);

    // ???
    List<IotProductEntity> queryProductList(@Param("params") Map<String, Object> params);
    List<IotProductEntity> queryProductScrollList(@Param("params") Map<String, Object> params);

    List<IotProductEntity> getProductsDownload(@Param("params") Map<String, Object> params);
}
